package com.common.framework.utils;

/**
 * @ClasName StringUtils
 * @Descripution TODO
 * @Author USER
 * @Date 2022/3/1 9:28
 * @Version V1.0
 */
public class StringUtils {

    // userDao   ==>   setUserDao
    public static String getSetterMethodByFieldName(String fieldName) {
        String methodName = "set" + fieldName.substring(0,1).toUpperCase() + fieldName.substring(1);
        return methodName;
    }

}
